//
//  ZYCRoleTreeModel.h
//  ZDSC
//
//  Created by ZDTX on 2021/8/3.
//

#import "ZYCBaseModel.h"

NS_ASSUME_NONNULL_BEGIN

@interface ZYCRoleTreeModel : ZYCBaseModel

@property (nonatomic, copy) NSString *r_id;
@property (nonatomic, copy) NSString *label;

//类型（0：部门，1：岗位；4：教师）
//0:学部；1：年级；2：班级；4：家长
@property (nonatomic, copy) NSString *dateType;
@property (nonatomic, strong) NSArray <ZYCRoleTreeModel *>*children;
@property (nonatomic, assign) BOOL isSelected;

@property (nonatomic, weak) ZYCRoleTreeModel *father;
// 选中的数
@property (nonatomic, assign) NSInteger selectedCnt;

// 选中的数
//@property (nonatomic, assign) NSInteger selectedCnt;

@property (nonatomic, strong) NSArray *selectArr;



@end

NS_ASSUME_NONNULL_END
